home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / BARNET / ARMLINUX / MAIL / 9701 / 000010_owner-linux-arm…r.rutgers.edu _Mon Jan 20 13:19:17 1997.msg < prev    next >
Internet Message Format  |  1998-01-25  |  2KB

  1. Return-Path: <owner-linux-arm-outgoing@vger.rutgers.edu>
  2. Received: from nic.funet.fi (nic.funet.fi [128.214.248.6]) by odie.barnet.ac.uk (8.8.2/8.8.0) with ESMTP id NAA27829 for <willy@odie.fluff.org>; Mon, 20 Jan 1997 13:19:16 GMT
  3. Received: from vger.rutgers.edu ([128.6.190.2]) by nic.funet.fi with ESMTP id <65911-8831>; Mon, 20 Jan 1997 15:17:35 +0200
  4. Received: by vger.rutgers.edu id <213188-11748>; Mon, 20 Jan 1997 08:07:26 -0500
  5. Message-Id: <199701201411.OAA23965@spider>
  6. Subject: Re: Arm Linux
  7. To: linux-arm@vger.rutgers.edu
  8. Date:     Mon, 20 Jan 1997 14:11:08 +0000 (GMT)
  9. Reply-To: John.Tytgat@barco.com
  10. From: John.Tytgat@barco.com (John Tytgat)
  11. X-Mailer: ELM [version 2.4 PL23]
  12. Mime-Version: 1.0
  13. Content-Type: text/plain; charset=US-ASCII
  14. Content-Transfer-Encoding: 7bit
  15. Sender: owner-linux-arm@vger.rutgers.edu
  16. Precedence: bulk
  17. Status: RO
  18.  
  19. [Sorry about the previous non-reply...]
  20. On Mon, 20 Jan 1997, Philip Blundell wrote:
  21. > But on an old ARM, you will get `bar = 0x04030201'.  The reason is that
  22. > the dereference of `bar' compiles to an LDR instruction.  In general, the
  23. > compiler can't know the alignment at compile-time, so there's not a lot
  24. > else it *can* do.  Old ARM machines silently discard the low two address
  25. > bits when you ask them to do a word access.  This differs, as I said
  26. > before, from the Intel (where you get the correct access performed, albeit
  27. > more slowly) and the Alpha/SPARC/etc (where you get a fault, and your OS
  28. > has to patch up in software).
  29.  
  30. Wouldn't it be the best that a StrongARM owner traces code like this (as
  31. the StrongARM can abort on such constructs when configured) ?
  32.  
  33. Regards,
  34. John.